{php $copyright = m('common')->getCopyright()}
{if !empty($copyright) && !empty($copyright['copyright'])}
    <div class="footer" style='width:100%; display: block; {if !empty($copyright['bgcolor'])} background: {$copyright['bgcolor']}; {/if}'>
        {$copyright['copyright']}
    </div>
{/if}